🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

udp server

#4357
From: Dirk Kaufmann
Date: Tue, 15 Feb 2005 13:48
23 lines
1475 bytes
i try to set up a udp server like this:



			UdpSocket = new TUdpSocket(NULL);
       UdpSocket->LocalHost = "192.168.1.14";  // server
       UdpSocket->LocalPort = 1494;

       UdpSocket->RemoteHost = "192.168.1.77"; // client

       UdpSocket->OnReceive = UdpSocket_Receive;
       UdpSocket->OnError   = UdpSocket_Error;
       UdpSocket->OnConnect = UdpSocket_Connect;

       UdpSocket->Open();



i confirmed that the udp packet was send by the client
(ethernet sniffer) but the UdpSocket_Receive function is
never called.

any idea what i am doing wrong ?
Technical Details
Message-ID: <4211fda4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f913eedcbd4070e3
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 15 Feb 2005 14:48:20 +0100
From: Dirk Kaufmann <d.kaufmann@raumcomputer.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: udp server
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.131.153.47
Message-ID: <4211fda4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108475300 80.131.153.47 (15 Feb 2005 05:48:20 -0800)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail