Skip to content

Commit

Permalink
Increased socket buffer to 4000 bytes.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@959 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Apr 16, 2003
1 parent 2ff7ff5 commit 62c390d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modeq/runtime/socketimpl.c
Expand Up @@ -75,10 +75,10 @@ RML_END_LABEL

RML_BEGIN_LABEL(Socket__handlerequest)
{
char buf[400]={0};
char buf[4000]={0};
int len;
int sock=(int) RML_UNTAGFIXNUM(rmlA0);
len = recv(sock,buf,400,0);
len = recv(sock,buf,4000,0);

rmlA0=(void*)mk_scon(buf);
RML_TAILCALLK(rmlSC);
Expand Down

0 comments on commit 62c390d

Please sign in to comment.