Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
What is winsock? Definition, resources, tutorials

 
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum
Author Message
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: What is winsock? Definition, resources, tutorials Reply with quote

Recently, we were working on some network application that utilizes winsock with C or C++. Surprisingly, when doing the research, I found little useful information on winsock or socket programming with windows. If anybody has good resources, articles or links about winsock programming with C / C++ in general please share your knowledge.

For the beginners:

Winsock

In computing, Winsock (also Windows Sockets) is a specification that defines how Windows network software should access network services, especially TCP/IP.

Winsock intends to provide a single API to which both application developers and network software vendors should conform. For any particular version of Microsoft Windows, Winsock defines a binary interface (ABI) that guarantees an application conforming to the Winsock API will function in concert with any similarly conformant protocol implementation released by any network software vendor..

Winsock is based on BSD sockets, but provides additional functionality to allow the API to comply with the standard Windows programming model.

Implementations:

Windows Sockets has been supported by every version of Microsoft's operating system since Windows 3.0.

Version 1.1 of Winsock was supplied with Windows 95 and Windows NT.
Version 2 of Winsock was supplied with Windows 98, Windows NT 4.0, and all subsequent Windows operating systems. It provided functions that allowed a greater number of protocols to be supported.
Under Windows NT, Microsoft provides Windows Sockets support over TCP/IP and IPX/SPX, and DEC offers an implementation for DECNet. Windows NT includes mechanisms, both 32-bit and 16-bit, for multiple protocol support in Windows Sockets.

NetManage (NEWT), Distinct, Fawcette Technical Publications and Frontier have shipped Winsock TCP/IP stacks, as have Microsoft (Windows NT and TCP/IP for Windows for Workgroups), Beame & Whiteside Software (v1.1 compliant) and Sun PC-NFS. Windows 95 has dial-up networking, which supports Winsock over TCP/IP.

winsock.dll is available from some TCP/IP stack vendors. Novell has released an implementation for their Lan Workplace for DOS.

Trumpet Software has released a shareware Winsock compliant TCP/IP stack.


MSDN resource on WINSOCK:

[http://msdn.microsoft.com/library/en-us/winsock/winsock/winsock_reference.asp]

Download winsocks:
[ftp://sunsite.unc.edu/pub/micro/pc-stuff/ms-windows/winsock/]
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Tue Jun 29, 04 10:59 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
hasnut
Expert User
Expert User


Joined: 28 Aug 2004
Posts: 201

Post Post subject: Reply with quote

You will find some resource at
[http://www.codeguru.com/Cpp/I-N/]
_________________
Sarder Hasnut
MCSD, CIW A

Need Low Cost Prefessional Hosting Contact me
Sat Aug 28, 04 5:33 pm
Back to top
hasnut View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group