blob: 6061e65f1f44d162fbc0f8294621304d36e876f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#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) ;
}
|