🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3158

Re: How to start with Ethernet communication ?

#3158
From: 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.
Technical Details
Message-ID: <iug3f25jpskkb8rdafncg3t0qrr396s4n6@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44f18f98$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d65154ca10d844ec,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to start with Ethernet communication ? 
Date: Sun, 27 Aug 2006 09:24:27 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <iug3f25jpskkb8rdafncg3t0qrr396s4n6@4ax.com>
References: <44f18f98$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.147.83
X-Trace: newsgroups.borland.com 1156695863 67.77.147.83 (27 Aug 2006 09:24:23 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail