|
From: Luigi S. <gi...@li...> - 2003-07-19 18:10:12
|
On Fri, Jul 18, 2003 at 07:38:51AM +0000, Khalid El-Kary wrote: > Hi all, > > I wanted to ask about a cross-platform socket networking API, different from > Qt, [...] The following message was send to the list some time ago, probably the links which appear can be of help. ///////// <message> I think you need to use the winsock API. I've never used it, but it appears to provide a Unix compatible TCP/IP interface. The FAQ is at: http://tangentsoft.net/wskfaq/ Don't forget to also check out the winsock API (there's a link in the FAQ but here it is anyway: http://www.sockets.com/winsock2.htm#Docs Good luck, Brenden P.D. van Zelst wrote: > Hi, > > > I'm trying to write a program which should be able to compile on Linux > using gcc (actually, g++, but still), as well as under Dev-C++ (that's > my goal). It appears mingw (I suppose?) doesn't implement 'socket()' > or any of these functions, and the only way I can develop my program > at the moment, is by writing my code in Dev-C++, then using cygwin to > compile it, and then in a command window execute the program to see if > it all works well... seems to me like this could be done simpler.... > for example, by hitting 'Compile' from within Dev-C++ :P > I hope it's somehow possible to perform these socket calls and be able > to compile the code from within the IDE (I think the ones that are > giving the most trouble are "fnctl", "ioctl", "socket", "write" etc). > Why oh why did I have to make this project cross-platform :| > > Anyway, I hope anyone can help me with this... or if someone could > tell me "it can't be done" or anything. > > Thanks in advance, > > > Paul > > </message> ///////// -- >> gisan >> |