error searching
This commit is contained in:
parent
576188bdc5
commit
7ef45ce666
1 changed files with 3 additions and 3 deletions
|
@ -148,7 +148,7 @@ __inline int get_core_no(void)
|
|||
void* server_task(void* e)
|
||||
{
|
||||
int sockfd, newsockfd, portno, clilen;
|
||||
char buffer[256];
|
||||
char buffer[512];
|
||||
struct sockaddr_in serv_addr, cli_addr;
|
||||
int n;
|
||||
uint64_t tmp1,tmp2;
|
||||
|
@ -224,14 +224,14 @@ void* server_task(void* e)
|
|||
|
||||
tmp2 = get_clock_tick();
|
||||
|
||||
kprintf("Send 512*256 Bytes in : %d clock ticks",tmp2-tmp1);
|
||||
kprintf("Send 512*512 Bytes in : %d clock ticks",tmp2-tmp1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void* client_task(void* e)
|
||||
{
|
||||
char dir[256];
|
||||
char dir[512];
|
||||
int sd;
|
||||
struct sockaddr_in sin;
|
||||
struct sockaddr_in pin;
|
||||
|
|
Loading…
Add table
Reference in a new issue