Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Jan : Re: Sending Message to IP and Port

www.cryer.info
Managed Newsgroup Archive

Re: Sending Message to IP and Port

Subject:Re: Sending Message to IP and Port
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Thu, 25 Jan 2007 17:04:13

"Isaac Alexander" <isaacNOSPAM@goNOSPAMprocura.com> wrote in message
news:45b947f0@newsgroups.borland.com...

> Is this the right component to use?

That depends.  Are you supposed to use UDP to send the message in the
first place?

> I am getting a 10038 error.

    WSAENOTSOCK (10038)

    Socket operation on non-socket.

    An operation was attempted on something that is not a socket.
Either the socket handle parameter did not reference a valid socket,
or for select, a member of an fd_set was not valid.

Sounds like you did not initialize the TUdpSocket before using it.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive