COSA
An Object-Oriented Platform for Arduino Programming
INET.hh File Reference
#include "Cosa/Types.h"
#include "Cosa/IOStream.hh"
Include dependency graph for INET.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  INET
 
struct  INET::addr_t
 
class  INET::Server
 

Enumerations

enum  { AF_INET = 2 }
 
enum  {
  SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4,
  SOCK_SEQPACKET = 5
}
 
enum  {
  IPPROTO_IP = 0, IPPROTO_IPV4 = 0, IPPROTO_ICMP = 1, IPPROTO_TCP = 6,
  IPPROTO_UDP = 17, IPPROTO_IPV6 = 41, IPPROTO_NONE = 59, IPPROTO_RAW = 255
}
 

Detailed Description

Version
1.0

License

Copyright (C) 2014-2015, Mikael Patel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

This file is part of the Arduino Che Cosa project.

Definition in file INET.hh.

Enumeration Type Documentation

anonymous enum

Communication domain.

Enumerator
AF_INET 

Definition at line 30 of file INET.hh.

anonymous enum

Socket type which specifies the communication semantics.

Enumerator
SOCK_STREAM 
SOCK_DGRAM 
SOCK_RAW 
SOCK_RDM 
SOCK_SEQPACKET 

Definition at line 37 of file INET.hh.

anonymous enum

Internet Protocol Number. http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml

Enumerator
IPPROTO_IP 
IPPROTO_IPV4 
IPPROTO_ICMP 
IPPROTO_TCP 
IPPROTO_UDP 
IPPROTO_IPV6 
IPPROTO_NONE 
IPPROTO_RAW 

Definition at line 49 of file INET.hh.