version 1.1.1.1, 2012/02/21 16:42:02
|
version 1.1.1.2, 2013/07/21 23:49:22
|
Line 1
|
Line 1
|
/* |
/* |
* Copyright (C) 2008-2010 Daisuke Aoyama <aoyama@peach.ne.jp>. | * Copyright (C) 2008-2012 Daisuke Aoyama <aoyama@peach.ne.jp>. |
* All rights reserved. |
* All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
Line 36 int istgt_listen(const char *ip, int port);
|
Line 36 int istgt_listen(const char *ip, int port);
|
int istgt_connect(const char *host, int port); |
int istgt_connect(const char *host, int port); |
int istgt_set_recvtimeout(int s, int msec); |
int istgt_set_recvtimeout(int s, int msec); |
int istgt_set_sendtimeout(int s, int msec); |
int istgt_set_sendtimeout(int s, int msec); |
|
int istgt_set_recvlowat(int s, int nbytes); |
ssize_t istgt_read_socket(int s, void *buf, size_t nbytes, int timeout); |
ssize_t istgt_read_socket(int s, void *buf, size_t nbytes, int timeout); |
ssize_t istgt_write_socket(int s, const void *buf, size_t nbytes, int timeout); |
ssize_t istgt_write_socket(int s, const void *buf, size_t nbytes, int timeout); |
ssize_t istgt_readline_socket(int sock, char *buf, size_t size, char *tmp, size_t tmpsize, int *tmpidx, int *tmpcnt, int timeout); |
ssize_t istgt_readline_socket(int sock, char *buf, size_t size, char *tmp, size_t tmpsize, int *tmpidx, int *tmpcnt, int timeout); |