Hello, I'm looking for some client server examples using sockets that were written in c language and can be run with Visual Studio 2005 ( i use the compile as c code option) + windows xp. did some googling and searches but most of the code samples are for unix and/or for C++/C# etc. for example from the MSDN: http://msdn2.microsoft.com/en-us/library/ms737889.aspx keep up the good work, Nebbie With Passion
Look at the examples from http://www.tangentsoft.net/wskfaq/examples/index.html ( even with cpp extention that really C programs ) Arkady "Nebbie With Passion" <Nebbie With Passion@discussions.microsoft.com> wrote in message news:A51AC986-229A-4A58-A0D5-EA0810D095DD@microsoft.com... > > Hello, > > I'm looking for some client server examples using sockets that were > written > in c language and can be run with Visual Studio 2005 ( i use the compile > as c > code option) + windows xp. > did some googling and searches but most of the code samples are for unix > and/or for C++/C# etc. > > for example from the MSDN: > http://msdn2.microsoft.com/en-us/library/ms737889.aspx > > keep up the good work, > Nebbie With Passion >
BTW pure c code of server and client you have in PSDK example on Samples\NetDS\WinSock\simple project Arkady "Arkady Frenkel" wrote in message news:O2QGlCQ%23HHA.4712@TK2MSFTNGP04.phx.gbl... > Look at the examples from > http://www.tangentsoft.net/wskfaq/examples/index.html > ( even with cpp extention that really C programs ) > Arkady > > "Nebbie With Passion" <Nebbie With Passion@discussions.microsoft.com> > wrote in message > news:A51AC986-229A-4A58-A0D5-EA0810D095DD@microsoft.com... >> >> Hello, >> >> I'm looking for some client server examples using sockets that were >> written >> in c language and can be run with Visual Studio 2005 ( i use the compile >> as c >> code option) + windows xp. >> did some googling and searches but most of the code samples are for unix >> and/or for C++/C# etc. >> >> for example from the MSDN: >> http://msdn2.microsoft.com/en-us/library/ms737889.aspx >> >> keep up the good work, >> Nebbie With Passion >> > >
"Nebbie With Passion" <Nebbie With Passion@discussions.microsoft.com> wrote in message news:A51AC986-229A-4A58-A0D5-EA0810D095DD@microsoft.com... > > Hello, > > I'm looking for some client server examples using sockets that were > written > in c language and can be run with Visual Studio 2005 ( i use the compile > as c > code option) + windows xp. > did some googling and searches but most of the code samples are for unix > and/or for C++/C# etc. The socket API is a standard (BSD sockets) so any unix examples will work. Just use WSAStartup before calling any other functions... > > for example from the MSDN: > http://msdn2.microsoft.com/en-us/library/ms737889.aspx > > keep up the good work, > Nebbie With Passion >