Solved

Winsock programming

Posted on 2013-01-28
2
474 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
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…
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.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now