Questions tagged [winsockets]

78 questions
-1
votes
2 answers

IOCP, AcceptEx, overlapped and WSAEINVAL

I have a server that uses IOCPs, sockets and overlapped. Initially everything is just wonderful. The listening socket hands off to a newly created socket using AcceptEx on an IOCP. I can handle thousands of connections just fine. When the server…
-1
votes
1 answer

Object reference not set to an instance of an object button press event

I'm getting an error message and I don't know how to fix it. This is the original code I have: private void SendMessage(Command cmd, EndPoint sendToEP) { try { //Create the message to send. Data msgToSend = new Data(); …
Roshi End
  • 41
  • 1
  • 7
-2
votes
1 answer

Communication between 2 windows application over UDP sockets in C

I am writing some code in C, which uses UDP sockets and I want to test it. What I basically want is to run two Windows applications (simply said, 2 .exe files) which would share some bytes between each other by using Winsockets. Could someone tell…
1 2 3 4 5
6