winsock
I can't get more than one applet communicating with my Cpp server
For some reason when I connect one Java client to my Cpp server it works perfectly. But when another Java applet tries to connect in addition to the first, it does but it stops receiving data from the[详细]
2023-03-25 05:10 分类:问答telnet client using c, for automating the backup of a series of routers
I have 400 routers, approx. and by using the console, I can access by telnet each one of them, and by typing a series of commands I can generate a backup and copy it to my computer using FTP.[详细]
2023-03-24 10:10 分类:问答network delays and Application->ProcessMessages()
I am writing a networking DLL that I use in my C++Builder project.This DLL works with remote FTP servers.I noticed a strange behavior when recv() is called.Sometimes it returns 0.But in another thread[详细]
2023-03-22 18:37 分类:问答Header files repeatedly used in different header files in my static library
Since I got multiple classes and utility-functions I reuse on a regular basis, I started to create a static 开发者_如何学Golibrary for those parts.[详细]
2023-03-22 13:34 分类:问答Too many server examples: how does one determine the most applicable approach?
I\'m about to implement a simple server from scratch, intending to maximum throughput (ie, accept as many requests as possible from clients, and allow scaling to as many clients as possible) on a sing[详细]
2023-03-21 12:00 分类:问答recv() windows socket takes infinite time - how to timeout?
I use file descriptors to find the readable sockets and go on to read. For some reasons, a socket that has no data on the wire, goes on to read and never returns. Is there a way I can come out of the[详细]
2023-03-21 06:33 分类:问答How do you do timed-out persistent/keep alive SSL connections with blocking sockets?
A previous question asked if changing one line of code implemented persistent SSL connections.After seeing that question\'s responses, and checking the dearth of SSL documentation, the following appea[详细]
2023-03-19 06:30 分类:问答Determine address family of an unbound socket
When I try to bind my socket I need to specify the address family in the addrinfo/sockaddr-structure I pass in to the call to bind(), or one will get an winsock error 10047 (Address family not su开发者[详细]
2023-03-19 02:38 分类:问答How to send data via post method to a php file in c++?
I am very new to c++. Recently I am trying to pass some data to a php file in c++ via the post method. I have tried a tutorial from MSDN send Function. The code is as follows:[详细]
2023-03-18 03:57 分类:问答Why does this SSL_pending call always return zero?
This code is for an HTTPS server using blocking sockets: request := \'\'; start := gettickcount; repeat if SSL_pending(ssl) > 0 then[详细]
2023-03-17 22:11 分类:问答