A socket is an abstract network construct with a sending and receiving side. In most modern operating systems (OS) there are device representations, and programming tools to address sockets.
Questions tagged [socket]
564 questions
1
vote
1 answer
Subdomains. How do you do development with subdomains?
I am currently building an web app which also utilizes websockets. (Rails for webserver and Nodejs for socket.io)
I have structured my application to use subdomains to separate between connection to the Nodejs server and the Rails webserver. I have…

Sunny
- 11
- 1
1
vote
1 answer
Should You Continue Polling Socket For Readiness After An EAGAIN or EWOULDBLOCK Error?
I am creating a web crawler with a multiplexed download manager using Linux epoll (Linux 2.6.30.x). I pick links from a database of over 40,000 domains (each domain having between 1 and 2000 urls), a total of 250,000 urls. I multiplex the downloads…

EdNdee
- 123
- 1
- 4
1
vote
1 answer
Nginx + SSL + Rails + Juggernaut (Node.js) + Engineyard
I have two different applications on the same server. One of them is running on the 80 port (mydomain.com), another on the port 443 (sub.mydomain.com) and has wildcard certificate.
The first application is only for information purposes and don't…

Aleksey Eliseev
- 11
- 1
1
vote
2 answers
Problems with firewall when forwarding 8080 thru Comtrend5071T
I am trying to forward port 8080 thru my modem but i have not been successful. to be exact my desired route is as follows:
Connection to Server A (192.168.0.5) is tested as working (192.168.0.5:8080)
Server A (192.168.0.5) forwards thru Linksys…

Alex Gittemeier
- 121
- 6
1
vote
2 answers
HTTP Proxy for Windows server
I am sorry that the question is probably not what you thought it is.
I have a box in US on colo which is collecting some data but is fairly easy on the resources. it runs w2008r2. and it has one NIC connected to the public internet.
I live in the…

Boppity Bop
- 752
- 3
- 11
- 34
1
vote
1 answer
How to - UDP NAT traversal using BSD sockets
I have been reading the NAT traversal requiring the use of an external STUN server. There are few public STUN servers but I do not know how to use them to find out my public IP that can be used by the other client to initiate the connection. Being a…

abhinav
- 129
- 4
1
vote
2 answers
why is TCP Connection state not changing from CLOSE_WAIT to CLOSED?
I have a client server application running in:
Server: Windows server 2008 R2 [Standard]
Client: Windows XP SP3
Workflow:
Server listens for client connections at port YY.
Client connects to server at port YY.
Data gets transferred from Server to…

aJ.
- 111
- 1
- 3
1
vote
2 answers
Apache HTTP Server Bind by MAC Address
I have 2 ethernet ports on my machine, both receiving their IP addresses via DHCP.
I would like to run essentially two web servers on the machine. Technically, I would like to run Apache on one address/port combination, and Node.js listening on…

Steve
- 225
- 3
- 9
1
vote
2 answers
A network socket in C++ on Redhat 5 for non-root user
I have written a program in C++ which uses sockets to talk to a windows7 machine.
I have run the code as the root user and everything works fine. However I don't want to end up running the program as root, for security reasons.
First I made a new…

Andy
- 13
- 2
1
vote
2 answers
Allowing Sockets through the Yast FireWall
Short version: How do I allow the Yast Firewall on a Linux server to allow sockets to connect with a randomly (by os) selected port?
Longer version: A part of my larger java program has a client connecting to server using sockets. The initial…

Ryan
- 11
- 2
1
vote
3 answers
How to connect with MySQL server if it won't connect via the socket?
I have an account on a shared server. I have jailshell access and also PhpMyAdmin.
I want to run mysql commands via SSH but I'm getting an error:
$ mysql -u mySqlUser -p mySqlPw
Can't connect to local MySQL server through socket…

cwd
- 2,763
- 9
- 33
- 48
1
vote
0 answers
Whats going on with mySQL
I am trying to install this application named socialengine and all is going well except on the mysql screen i keep getting this error
The MySQL storage engine is not installed.
I notice my sock file is here
mysqld --verbose --help | grep…

Matt Elhotiby
- 889
- 3
- 10
- 22
1
vote
0 answers
Heavily loaded ubuntu machine connection timeout
I've got a webserver running Ubuntu 10.04 Server edition (on rackspace cloud), running nginx and jetty. It's under quite a bit of load (60-70 requests/sec or so successful). Nginx is proxying requests to jetty, but it seems that the connection times…
John Smith
1
vote
1 answer
Connecting to a service from outside the network
I seek to run a server on the 8000 port on my machine. My computer is part of a wireless home network which is connected to the Internet by a Linksys router. In this scenario, how would a host outside this network, somewhere in the Internet, connect…
shailend
1
vote
1 answer
Postfix socket responses problem
I am writing a program in Flex/Actionscript and using an Apple OSX server running Postfix.
If a mail canot be sent, it is stored in a database to be sent at a later date.
My problem is that if I have, say, 3 email messages in the database, then I…

Phil
- 11
- 2