Yes OnRe is a procedure so it doesn't return any value. Here is the code for FCon.OnReceive:

property OnReceive: TLSocketEvent read FOnReceive write FOnReceive;

I'm not sure how properties work so that's probably why I'm stumped on this


When I compile with the code being:

FCon.OnReceive := @OnRe;

It says: Variable identifier expected.

I really appreciate your help Code_Glitch, I hope we can sort this issue out because I'm this ->||<- close to having multiplayer for my game