tahamajs/OS / Files /past_terms /Operating-System-Course-Projects /1.Socket-Programming-Auction /src /consts.c
| const char* INVALID_COMMAND_FORMAT = | |
| "Invalid command format:\n" | |
| " \"%s\" requires %d number of arg(s), You entered %d arg(s).\n"; | |
| const char* UNKNOWN_COMMAND = | |
| "Unknown command.\n"; | |
| const char* GETADDR_FAILED = | |
| "getaddrinfo failed.\n"; | |
| const char* SOCKET_ERR = | |
| "socket failed.\n"; | |
| const char* BIND_ERR = | |
| "bind failed.\n"; | |
| const char* UDP_BIND_FAILED = | |
| "udp client failed to bind socket.\n"; | |
| const char* UDP_RECV_FAILED = | |
| "recieving udp message failed.\n"; | |
| const char* BROADCAST_FAILED = | |
| "sending broadcast failed.\n"; | |
| const char* INVALID_AD_OFFER = | |
| "selected ad id is either in porgress, expired or doesn't exist.\n"; | |
| const char* INVALID_OFFER_ID = | |
| "offer not found.\n"; | |
| const char* ACCEPT_OFFER_MSG = | |
| "/accept/"; | |
| const char* DECLINE_OFFER_MSG = | |
| "/decline/"; | |
| const char* WAITING_STAT_STR = | |
| "waiting"; | |
| const char* IN_PROG_STAT_STR = | |
| "in progress"; | |
| const char* EXPIRED_STAT_STR = | |
| "expired"; | |
| const char* TIME_OUT_MSG = | |
| "time out"; | |
Xet Storage Details
- Size:
- 1.04 kB
- Xet hash:
- 08e0af837ecc3e8899794b25958cd499dda7bfd3d8cf6683b3967547255ef429
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.