OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [or1ksim/] [debug/] [rsp-server.c] - Diff between revs 19 and 85

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");

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.