»Home
»Examples
»Invocation
»Runtime Library
»Python Bindings
»Known Issues
Shellcode Compiler
A custom shellcode compiler for Binary Ninja

# create_tcp4_connection

    int create_tcp4_connection(uint32_t ip, uint16_t port);

Creates a new TCP connection on port port to IPv4 address ip. The IPV4_ADDR macro can be used to construct an IP address from four octets easily. Returns an open socket handle, or the negation of the error code on error.

## See also

create_tcp6_connection, create_udp4_connection, create_udp6_connection