[lib] Rename create_udp_sending_socket()

Rename owl_create_udp_sending_socket() -> owl_create_udp_trx_socket().
This commit is contained in:
Matteo Cypriani 2011-03-11 11:32:17 +01:00
parent 940c5f74df
commit b88f26e503
4 changed files with 16 additions and 16 deletions

View File

@ -18,7 +18,7 @@ int owlclient_create_trx_socket(char *dest_ip, uint_fast16_t dest_port,
{
struct sockaddr_in client ;
int sockfd = owl_create_udp_sending_socket(dest_ip, dest_port,
int sockfd = owl_create_udp_trx_socket(dest_ip, dest_port,
server, &client) ;
if (sockfd < 0)
{

View File

@ -409,7 +409,7 @@ void* monitor_couples()
#endif // DEBUG
sockfd =
owl_create_udp_sending_socket(cfg_getstr(cfg, "positioner_ip"),
owl_create_udp_trx_socket(cfg_getstr(cfg, "positioner_ip"),
cfg_getint(cfg, "positioner_port"),
&serv, &client) ;
@ -970,7 +970,7 @@ void order_send(ap_list *ap)
#endif // DEBUG
sockfd =
owl_create_udp_sending_socket(ap->ip_addr,
owl_create_udp_trx_socket(ap->ip_addr,
cfg_getint(cfg, "autocalibration_port"),
&serv, &client) ;

View File

@ -190,7 +190,7 @@ BOOL owl_mac_equals(uint8_t *mac1, uint8_t *mac2)
* - client_description (in/out): the structure in which the client
* description will be saved.
*/
int owl_create_udp_sending_socket(char *server_address,
int owl_create_udp_trx_socket(char *server_address,
uint_fast16_t server_port,
struct sockaddr_in *server_description,
struct sockaddr_in *client_description)

View File

@ -231,7 +231,7 @@ uint64_t owl_timestamp_to_ms(TIMESTAMP date) ;
uint_fast32_t owl_time_elapsed(TIMESTAMP sup, TIMESTAMP inf) ;
// Network
int owl_create_udp_sending_socket(char *server_address,
int owl_create_udp_trx_socket(char *server_address,
uint_fast16_t server_port,
struct sockaddr_in *server_description,
struct sockaddr_in *client_description) ;