-
as seen on Stack Overflow
- Search for 'Stack Overflow'
We are trying to build an SMTP Server to receive mail notifications from various clients over internet. As each of the communication will be longer and it needs to log everything, doing this Asynchronous way is little challenging as well as by using Socket's Asynchronous methods we are not sure of…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
HOST = same host all the time, accepts multiple connection. I have a dedicated server and I will buy extra IP's.
Socket 1 connects to HOST:PORT, from IP-1
Socket 2 connects to HOST:PORT, from IP-1
Socket 3 connects to HOST:PORT, from IP-1
Socket 4 connects to HOST:PORT, from IP-2
Socket 5 connects…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
HOST = same host all the time, accepts multiple connection. I have a dedicated server and I will buy extra IP's.
Socket 1 connects to HOST:PORT, from IP-1
Socket 2 connects to HOST:PORT, from IP-1
Socket 3 connects to HOST:PORT, from IP-1
Socket 4 connects to HOST:PORT, from IP-2
Socket 5 connects…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm curious to know if, after a WebSocket has been established (after having received the proper handshake from a server that supports them), whether or not the TCP socket used by the "WebSocket connection" is used exclusively by the WebSocket, or if the browser may still make regular HTTP requests…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My program uses sockets, what Parallel computing APIs could I use that would help me without obligating me to go from sockets to anything else?
When we are on a cluster with a special, non-socket infrastructure system this API would emulate something like sockets but using that infrastructure (so…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When starting Tomcat 6 on Windows 7 Enterprise with JRE 6 using
C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\tomcat6.exe
the application does not open and my event viewer has the message:
"Disabled use of AcceptEx() WinSock2 API."
The same installer of Tomcat worked on Windows Vista…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I'm having the weirdest problem causing me headaches. Consider the following code:
// Create and bind socket
std::map<Connection, bool> clients;
unsigned short port=6222;
struct sockaddr_in local_address, from_address;
int result;
char buffer[10000];
SOCKET receive_socket;
local_address…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The following errors are from a file with just windows and winsock2 included.
C:\Users\ioil\Desktop\dm\bin>dmc sockit.c
typedef struct fd_set {
^
C:\Users\ioil\Desktop\dm\bin\..\include\win32\WINSOCK2.H(85) : Error: 'fd_set' is already defined
} fd_set;
^
C:\Users\ioil\Desktop\dm\bin\…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm following examples here,
but none of them provides an example on how to modify packets(previously I used winpcap only to found that it can ONLY read packets!).
Can someone give me some clue even which function can actually modify incoming/outgoing packets??
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Dear All,
my socket library which is implemented using winsock2 is working properly.
But when ESET Nod32 installed on the computer, connect() function returns 0(zero) ,that is success, even if remote host is not available.
I looked with netstat -b command and saw that ekrn.exe is accepting the client…
>>> More