/* read data from socket function receives a message from a connection-mode or connectionless-mode socket. Note that raw sockets are not supported. 
recvfrom */
INT16 CC3000_EXPORT() recvfrom(INT32 sd, void *buf, INT32 len, INT32 flags, sockaddr *from, socklen_t *fromlen)
/* read data from socket function receives a message from a connection-mode or connectionless-mode socket. Note that raw sockets are not supported. 
recvfrom */
INT16 CC3000_EXPORT() recvfrom(INT32 sd, void *buf, INT32 len, INT32 flags, sockaddr *from, socklen_t *fromlen)
{
	return(simple_link_recv(sd, buf, len, flags, from, fromlen,
		HCI_CMND_RECVFROM));
}