blob: 162bf72f65ec7f2c361006285fdcd2ee3496c95b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* ISC license. */
#include <stdint.h>
#include <skalibs/uint32.h>
#include <skalibs/socket.h>
int socket_connect4_u32 (int s, uint32_t ip, uint16_t port)
{
char pack[4] ;
uint32_pack_big(pack, ip) ;
return socket_connect4(s, pack, port) ;
}
|