network.h
Go to the documentation of this file.
1 /* Copyright 2017 UFACTORY Inc. All Rights Reserved.
2  *
3  * Software License Agreement (BSD License)
4  *
5  * Author: Jimy Zhang <jimy92@163.com>
6  ============================================================================*/
7 #ifndef OS_NETWORK_H_
8 #define OS_NETWORK_H_
9 
11 
12 int socket_init(char *local_ip, int port, int is_server);
13 int socket_send_data(int client_fp, unsigned char *data, int len);
14 int socket_connect_server(int *socket, char server_ip[], int server_port);
15 
16 #endif // OS_NETWORK_H_
int socket_init(char *local_ip, int port, int is_server)
Definition: network_new.cc:36
int socket_connect_server(int *socket, char server_ip[], int server_port)
Definition: network_new.cc:80
int socket_send_data(int client_fp, unsigned char *data, int len)
Definition: network_new.cc:91


xarm_api
Author(s):
autogenerated on Sat May 8 2021 02:51:23