Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

[Borland C++ Builder 2006]Sockets

I am currently developing a CVS system. The server will run on Linux, while clients will run on the Windows platform. My question is, will the sockets from the VCL library be compatible with those from CLX?
[206 byte] By [Radius] at [2007-11-11 10:19:24]
# 1 Re: [Borland C++ Builder 2006]Sockets
It depends on what compatibel means. The sockets APIs are the same. They are a de facto standard so you can connect a Windows client to Linux server and vice versa.
But you will have to pay attention to the bad old endian-ness issues, data alignment issues, and 64 vs 32 bit issues, if these are relevant in your case. Best to test a small dummy app that simply sends a few bytes to the client and see if you face any problems.
Danny at 2007-11-11 20:59:07 >