mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-25 13:16:03 +08:00
@@ -655,6 +655,10 @@ int at_recvfrom(int socket, void *mem, size_t len, int flags, struct sockaddr *f
|
||||
{
|
||||
timeout = RT_WAITING_FOREVER;
|
||||
}
|
||||
else
|
||||
{
|
||||
timeout = rt_tick_from_millisecond(timeout);
|
||||
}
|
||||
|
||||
while (1)
|
||||
{
|
||||
@@ -1161,7 +1165,7 @@ void at_freeaddrinfo(struct addrinfo *ai)
|
||||
}
|
||||
}
|
||||
|
||||
void at_scoket_device_register(const struct at_device_ops *ops)
|
||||
void at_socket_device_register(const struct at_device_ops *ops)
|
||||
{
|
||||
RT_ASSERT(ops);
|
||||
RT_ASSERT(ops->at_connect);
|
||||
|
||||
@@ -129,7 +129,7 @@ int at_getaddrinfo(const char *nodename, const char *servname, const struct addr
|
||||
void at_freeaddrinfo(struct addrinfo *ai);
|
||||
|
||||
struct at_socket *at_get_socket(int socket);
|
||||
void at_scoket_device_register(const struct at_device_ops *ops);
|
||||
void at_socket_device_register(const struct at_device_ops *ops);
|
||||
|
||||
#ifndef RT_USING_SAL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user