Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Net/Net.CrossServer.pas
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ procedure TCrossServer.Start(const ACallback: TCrossListenCallback);

// 如果是监听的随机端口
// 则在监听成功之后将实际的端口取出来
if (FPort = 0) then
if ASuccess and (FPort = 0) then
FPort := AListen.LocalPort;

if Assigned(ACallback) then
Expand Down