🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1142

UDP socket

#1142
From: Kresten Tolstrup
Date: Tue, 27 Mar 2007 13:46
7 lines
1216 bytes
Hello

Does anyone have a simple example, that shows how to use TUdpSocket. I use C++ builder 6.0. When I try to send anything I receive errorcode 10038. I setup the local and remote port numbers, then I call connect(), I have also tried with open(), after that I setup remote host and call SendBuf, then the Event UdpSocketError is called. There is not any server or client settings, is that correct?.

Best Regards
Kresten
Technical Details
Message-ID: <4609120b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,eda79d322010114f,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kresten Tolstrup" <kt@danphone.com>
Sender: "Kresten Tolstrup" <kt@danphone.com>
Reply-To: "Kresten Tolstrup" <kt@danphone.com>
Subject: UDP socket
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 80.196.23.205     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4609120b$1@newsgroups.borland.com>
Date: 27 Mar 2007 05:46:03 -0800
X-Trace: newsgroups.borland.com 1174999563 207.105.83.66 (27 Mar 2007 05:46:03 -0800)
Lines: 7
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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