🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Ori Sun, 27 Aug 2006 12:27
How to start with Ethernet communication ?
#3159
Author: Ori
Date: Sun, 27 Aug 2006 12:27
11 lines
1196 bytes
Hi all, I need to write a simple application that send a message
through Ethernet and get response, I have no idea how to start 
this, I only know how to communicate using Rs-232, my computer
is connected to a local network, can I use this connection for
my Ethernet tests? what should I install? where can I find a 
clear example that shows me how to init the Ethernet, how to send
and how to recieve?

Thanks,
Ori.
Re: How to start with Ethernet communication ?
#3158
Author: Bob Gonder
Date: Sun, 27 Aug 2006 16:24
19 lines
1729 bytes
Ori wrote:

>Hi all, I need to write a simple application that send a message
>through Ethernet and get response, I have no idea how to start 

You would probably want to use TCP/IP for the communication.
That is handled by Sockets.

In Windows, this is known as WinSock (winsock2.h)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/about_winsock.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/winsock_reference.asp

Depending on your compiler version, you could use 3rd party libs like
ICS or INDY9.50 (snapshot).
http://www.indyproject.org/

Issues on these items are the topic of
borland.cppbuilder.internet.socket
See you there.
Re: How to start with Ethernet communication ?
#3160
Author: Ori
Date: Mon, 28 Aug 2006 08:03
8 lines
1009 bytes

Thanks very much :-) 

I posted a question in the "borland.cppbuilder.internet.socket"
newsgroup, see you there.

Ori
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads