Make socket port binding a separate step with ipc_netsockbindport() syscall
This commit is contained in:
@ -27,9 +27,10 @@ typedef struct {
|
||||
extern IpcNetSocks IPC_NETSOCKS;
|
||||
|
||||
void ipc_netsockinit(void);
|
||||
IpcNetSock *ipc_netsockmake(uint16_t net, uint16_t proto, uint16_t port, uint64_t pid);
|
||||
IpcNetSock *ipc_netsockmake(uint16_t net, uint16_t proto, uint64_t pid);
|
||||
int32_t ipc_netsocklisten(IpcNetSock *netsock, size_t maxlisteners);
|
||||
int32_t ipc_netsockdelete(IpcNetSock *netsock);
|
||||
int32_t ipc_netsockbindport(IpcNetSock *netsock, uint16_t port);
|
||||
void ipc_netsock_cleanup_dangling(void);
|
||||
|
||||
#endif // NETSOCK_NETSOCK_H_
|
||||
|
||||
Reference in New Issue
Block a user