Opened 15 years ago

Last modified 15 years ago

#2795 closed defect

can wxSocketClient::Connect return err code?

Reported by: wxmjohn Owned by: hockkn
Priority: normal Milestone:
Component: network Version:
Keywords: Cc: wxmjohn, hockkn
Blocked By: Blocking:
Patch: no

Description

when i use
wxSocketClient::Connect() failed, i can't get the error
code, because wxSocketClient::Connect() only has a
local GSocketError err variable. thanks!

Change History (1)

comment:1 Changed 15 years ago by hockkn

wxSocketBase::LastError. Since wxSocketClient derives from
wxSocketBase, LastError is available. See also
wxSocketBase::Error.

Note: See TracTickets for help on using tickets.