[fpc-pascal]socket requirements.

Harald Houppermans houppermans at home.nl
Wed Jul 30 03:22:52 CEST 2003


What my program would need is:

When a packet is received:

source address and source port

When sending a packet...

supplieing a

dest address and dest port.

The last could be done with connect.

How to do the first is now the question...

Maybe with recv... but the doc says it needs to be in a connected state?

Also maybe with getpeername

This seems to be a weird way of working with datagrams...





More information about the fpc-pascal mailing list