Communication between CSocket and BSD Socket
-
Communication between CSocket and BSD Socket Hi Friends, I wanted some help on my project as i have stuck at a place. Basically i am developing a Client Server Application. My Server is using a class derived from CSocket. Wherein i wanted is it possible to communicate a Client which is based on BSD Socket with a Server which is build using CSocket. With Rgds
Girish Software Developer
-
Communication between CSocket and BSD Socket Hi Friends, I wanted some help on my project as i have stuck at a place. Basically i am developing a Client Server Application. My Server is using a class derived from CSocket. Wherein i wanted is it possible to communicate a Client which is based on BSD Socket with a Server which is build using CSocket. With Rgds
Girish Software Developer
Having never done that myself I can't gaurantee it'll work but the answer must still be yes otherwise the internet itself would not work! Windows sockets were originally developed from BSD sockets anyway, back in the days of Win95, so you shouldn't have too many problems. I would recommend using the 'raw' Winsock APIs send, recv, setsocketopt etc rather than the somewhat buggy MFC Socket classes, especially if you're doing anything Asychronous/multi threaded which is pretty much a given on the Server side. I hope it goes well.
"The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)
-
Communication between CSocket and BSD Socket Hi Friends, I wanted some help on my project as i have stuck at a place. Basically i am developing a Client Server Application. My Server is using a class derived from CSocket. Wherein i wanted is it possible to communicate a Client which is based on BSD Socket with a Server which is build using CSocket. With Rgds
Girish Software Developer
I think you will be OK here. BSD Sockets are the "standard" TCP/IP or UDP/IP socket. Winsock is a Windows implementation of BSD sockets. There is no reason a correctly implemented socket application would not be able to communicate across the network and across different systems (barring network failures, firewalls, etc.) Peace!
-=- James
Please rate this message - let me know if I helped or not! * * *
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles