Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Sun, 16 Sep 2007 02:26:00 -0700,    group: microsoft.public.platformsdk.networking        back       


C Client Server code examples using Sockets.   
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
date: Sun, 16 Sep 2007 02:26:00 -0700   author:   Nebbie With Passion Nebbie With

Re: C Client Server code examples using Sockets.   
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
>
date: Mon, 17 Sep 2007 10:01:56 +0200   author:   Arkady Frenkel

Re: C Client Server code examples using Sockets.   
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
>>
>
>
date: Mon, 17 Sep 2007 10:10:50 +0200   author:   Arkady Frenkel

Re: C Client Server code examples using Sockets.   
"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
>
date: Mon, 17 Sep 2007 15:06:02 -0500   author:   Ben Voigt [C++ MVP] am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us