Skip to content

GetLastError: 10049 - The requested address is not valid in its context. #4

Open
@dbiscan

Description

@dbiscan

Using a standard recieve string
NTttcp.exe -r -v -p 1025 -m 1,3,
It fails and this is the resulting output :

4/13/2022 11:33:22 StartSenderReceiver start thread 0 port 1025
4/13/2022 11:33:22 SetupNet port 1025
4/13/2022 11:33:22 bound to port 1025
4/13/2022 11:33:22 ERROR: SetupNet failed: error in connect/bind function, GetLastError: 10049 - The requested address is not valid in its context.
4/13/2022 11:33:22 ERROR: StartSenderReceiver in thread: 0 failed: error in SetupNet function
4/13/2022 11:33:22 ERROR: StartSenderReceiver in thread: 0 failed: closesocket, GetLastError: 10038 - An operation was attempted on something that is not a socket.

It's windows server 2018 running powershell in administrator mode.
There is no other error information, just the above.
Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions