Solved

Winsock programming

Posted on 2013-01-28
2
482 Views
Last Modified: 2013-01-28
I'm a little lost on this subject.  What exactly is winsock programming and what language are we talking about.  I have a project where I'm supposed to "pickup" data at 192.168.1.181:59003 from a digital phone system.  I can open hyperterminal and "get" the data which means I can see it on the screen.  How am I supposed to get that data into an html page where I can create rows in an SQL table?
0
Comment
Question by:lantervj
2 Comments
 
LVL 7

Accepted Solution

by:
avcontrol earned 500 total points
ID: 38826961
"Socket" it is just the way to connect, using windows API in this case.
Winsock is above the TCP/IP protocol stack in the ISO/OSI model. TCP/IP is an industry standard communication protocol that defines methods for packaging data into packets for transmission between computing devices on a heterogeneous network. TCP/IP is the standard for data transmission over networks, including the Internet. TCP establishes a connection for data transmission and IP defines the method for sending data packets.

Microsoft has wrapped up the Winsock and INetAPI API calls into  package that you can easily incorporate into your C/C++/Visual Basic applications.

This is most simplified explanation , there is much more beyond that.
But to help you get started you can read those, and find many others at your own.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms738545(v=vs.85).aspx
http://www.binarytides.com/winsock-socket-programming-tutorial/
0
 

Author Closing Comment

by:lantervj
ID: 38827039
Thanks for the start.  Just what I needed.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question