URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 19 |
Rev 85 |
Line 383... |
Line 383... |
|
|
printf ("Listening for RSP on port %d\n", config.debug.rsp_port);
|
printf ("Listening for RSP on port %d\n", config.debug.rsp_port);
|
fflush (stdout);
|
fflush (stdout);
|
|
|
/* Accept a client which connects */
|
/* Accept a client which connects */
|
|
len = sizeof (socklen_t); /* Bug fix by Julius Baxter */
|
rsp.client_fd = accept (tmp_fd, (struct sockaddr *)&sock_addr, &len);
|
rsp.client_fd = accept (tmp_fd, (struct sockaddr *)&sock_addr, &len);
|
|
|
if (-1 == rsp.client_fd)
|
if (-1 == rsp.client_fd)
|
{
|
{
|
fprintf (stderr, "Warning: Failed to accept RSP client\n");
|
fprintf (stderr, "Warning: Failed to accept RSP client\n");
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.