Re: Writting to and reading from IP addresses?

Haroon Shafiq <[email protected]> Thu, 11 Nov 2004 10:15:39 +0500
Newsgroups gmane.comp.programming.cppug
Message-ID <[email protected]>
I have done such thing, in my router emulator. I used WinPcap network
packet capturing library to get and send data to and from the network
card. Other wise you would have to use the driver of the particular
network card you are using or write one your self. Win Pcap gives you
the raw data in bits form that arrives at the card. you have to build
some data structures there after to get the desired data. like an IP
class or some thing. For this you will have to know the type of the
network (ethernet, token ring etc.) and the protocol (my emulator is
for IP based ethernet networks).


On Wed, 10 Nov 2004 12:55:20 -0000, ufda76063 <[email protected]> wrote:
> 
> I'm about to start writing a package to write real-time data to an 
> IP address, and on the other side read that data from the IP 
> address.  Can anyone give me a head start on how to go about this 
> communications?  I've written lots of code communicating over the RS-
> 232 ports, but this is my first attempt at passing data over a 
> network/internet.
> Thanks,
> Steve
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
> 
> ADVERTISEMENT
> 
> 
> ________________________________
> Yahoo! Groups Links
> 
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/cppug/
>   
> To unsubscribe from this group, send an email to:
> [email protected]
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cppug/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/