Click here to Skip to main content
16,006,760 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File Property Pin
Paolo Messina6-Oct-01 23:36
professionalPaolo Messina6-Oct-01 23:36 
GeneralRe: File Property Pin
Maer7279-Oct-01 2:05
Maer7279-Oct-01 2:05 
GeneralRe: File Property Pin
Paolo Messina9-Oct-01 7:17
professionalPaolo Messina9-Oct-01 7:17 
GeneralRe: File Property Pin
Maer7279-Oct-01 20:15
Maer7279-Oct-01 20:15 
GeneralAdvance Pin
5-Oct-01 3:33
suss5-Oct-01 3:33 
GeneralRe: Advance Pin
Chaos Lawful5-Oct-01 4:20
Chaos Lawful5-Oct-01 4:20 
GeneralRe: Advance Pin
Michael Dunn5-Oct-01 8:34
sitebuilderMichael Dunn5-Oct-01 8:34 
GeneralReading data from Ethernet port Pin
5-Oct-01 3:28
suss5-Oct-01 3:28 
I need some help ... actually just to be pointed in the right direction, since I haven't dealt with this before.

I have a device that sends data out an RS-232 serial port, but it also sends data to an Ethernet port. The serial port data is handled by a separate device, but now I want the "controller" PC to read the data from the Ethernet port. Both the data-sending device and the PC have been set up with IP addresses in the same domain, and other 3rd party software reads and displays the data, so I know the PC is connected properly. Only these 2 devices are connected, so there is no other network connectivity.

So, a few questions: Confused | :confused:
- What kind of functions do I use to read data from the Ethernet Port?
- Does the data come as a serial byte stream, or is it in packets? Do I have to do my own message parsing and header-byte syncing, and then extract message data of interest?
- How do I need to "open," or "initialize" the port?
- How does all this work?

CodeProject articles, a web site, the name of a couple of functions that I can track down in the documentation, etc, is all I'm looking for right now. I haven't had much luck so far in tracking down just what I need.

Thanks,
Dave
GeneralRe: Reading data from Ethernet port Pin
Michael P Butler6-Oct-01 9:32
Michael P Butler6-Oct-01 9:32 
GeneralOpenGL and black border Pin
Kristian Nilssen5-Oct-01 0:52
Kristian Nilssen5-Oct-01 0:52 
GeneralRe: OpenGL and black border Pin
5-Oct-01 2:44
suss5-Oct-01 2:44 
GeneralConverting back from CWnd::Message to SendMessage Pin
James Spibey4-Oct-01 23:56
James Spibey4-Oct-01 23:56 
GeneralRe: Converting back from CWnd::Message to SendMessage Pin
Christian Graus5-Oct-01 0:12
protectorChristian Graus5-Oct-01 0:12 
GeneralRe: Converting back from CWnd::Message to SendMessage Pin
Jon Hulatt5-Oct-01 0:13
Jon Hulatt5-Oct-01 0:13 
GeneralRe: Converting back from CWnd::Message to SendMessage Pin
Christian Graus5-Oct-01 0:28
protectorChristian Graus5-Oct-01 0:28 
GeneralRe: Converting back from CWnd::Message to SendMessage Pin
James Spibey6-Oct-01 11:24
James Spibey6-Oct-01 11:24 
GeneralRe: Converting back from CWnd::Message to SendMessage Pin
Paolo Messina5-Oct-01 11:26
professionalPaolo Messina5-Oct-01 11:26 
GeneralCListCtrl and Selection... Pin
Bernhard4-Oct-01 23:50
Bernhard4-Oct-01 23:50 
GeneralRe: CListCtrl and Selection... Pin
Bret Faller5-Oct-01 6:42
Bret Faller5-Oct-01 6:42 
GeneralRe: CListCtrl and Selection... Pin
Michael Dunn5-Oct-01 8:36
sitebuilderMichael Dunn5-Oct-01 8:36 
GeneralWIN CE Setup Pin
Kumar saurabh4-Oct-01 21:53
Kumar saurabh4-Oct-01 21:53 
GeneralDirectdraw interface Pin
erhemas4-Oct-01 21:47
erhemas4-Oct-01 21:47 
GeneralRe: Directdraw interface Pin
Christian Graus4-Oct-01 22:57
protectorChristian Graus4-Oct-01 22:57 
GeneralI need advice about which component to select for specific purpose . Please help ! Pin
4-Oct-01 19:57
suss4-Oct-01 19:57 
GeneralRe: I need advice about which component to select for specific purpose . Please help ! Pin
Bernhard4-Oct-01 21:46
Bernhard4-Oct-01 21:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.