winsock
C function **ntohl** gives linker error (unresolved externals)
The function ntohl gives a linker error for me: error LNK2001: unresolved external symbol _ntohl@4 fatal error LNK1120: 1 unresolved externals[详细]
2023-02-18 05:11 分类:问答Windows winsock networking code: What am I missing?
I saw something that was a red flag for me when I ran this: nc -l -u -p 1500 This netcat command makes it listen for packets from UDP port 1500. Once i ran this on the windows command line, I imme[详细]
2023-02-17 21:14 分类:问答C Prog - Keeping a web server constantly listening
I am trying to learn winsock programming using online tutorials. This example is from the MSDN library, although modified. I have compiled it and it seems to be working fine for only one request. Afte[详细]
2023-02-16 13:19 分类:问答recv() - Working with HTTP headers
Below is the code, I took from MSDN\'s tutorial examples for Winsock server programming. The code seems to be working fine. When I type http://localhost:27015 in my browser, the code responds appropri[详细]
2023-02-16 01:36 分类:问答Clear out multicast listeners in .NET
I have a problem where sometimes when I call UdpClient.JoinMulticastGroup (.NET call), I get a \"system lacked sufficient buffer space or because a queue was full\" exception (details here).[详细]
2023-02-15 16:51 分类:问答Getting and Setting the default Gateway in C supporting Windows XP
I have found the IP Helper interfaces for managing ip related information, yet i didnt find a way to get and/or change the Gateway address for a given adapter using interfac开发者_JS百科es supported i[详细]
2023-02-15 12:36 分类:问答Is there any way I can mess with the TCP stack in Windows?
I want to send a TCP ack packet a certain number of bytes ahead of the data that I have actually recieved in order to \"resume\" a download. I would also need to change the state of the TCP stack to b[详细]
2023-02-15 01:12 分类:问答Receiving all data sent with C sockets
If I write a server, how can I implement the receive function to get all the data sent by a specific clie开发者_如何学运维nt if I don\'t know how that client sends the data?[详细]
2023-02-14 01:35 分类:问答Force Http 1.0 idHttpServer and TIME_WAIT
Delphi 2010, Last Indy source code from Svn. Does anyone knows how can I force TIDHttpServer to send a http 1.0 response, instead of sending http 1.1?[详细]
2023-02-12 22:39 分类:问答Receiving data in packets on TCP client
Does recv(开发者_Python百科) call intercepts data in packets or can i get data packets with timestamps?On a datagram socket (like UDP), recv gets data in datagrams.TCP is a stream-mode socket, however[详细]
2023-02-11 20:06 分类:问答