趣味で作ってるロボット用ソフトウェア
 All Classes Files Functions Enumerations Enumerator Friends Pages
Enumerations | Functions
connection_utils.h File Reference

Connection 用の補助関数 More...

#include <cstdio>
Include dependency graph for connection_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  { Connection_utils_infinity = -1, Line_feed = EOF }
 

Functions

void hrk::ignore (Connection *connection, int timeout, int size=Connection_utils_infinity)
 
bool hrk::ignore_to (Connection *connection, int timeout, char ch)
 
int hrk::readline (Connection *connection, char *data, int max_data_size, int timeout, int end_ch=Line_feed)
 

Detailed Description

Connection 用の補助関数