diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-05-01 10:42:22 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-05-01 10:42:22 +0000 |
commit | e4d10ec39863e84681c5b685d8b46e9c7351f5b4 (patch) | |
tree | 13a15887b866bbdf7c24431e45ab7e8d0f22ce4d /pjlib/src/pjlib-test/sock_perf.c | |
parent | f9b1f6fe23396291bc504e850dfe98ea5647ed9e (diff) |
Ported PJLIB and PJLIB-TEST to Symbian!
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1238 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pjlib-test/sock_perf.c')
-rw-r--r-- | pjlib/src/pjlib-test/sock_perf.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pjlib/src/pjlib-test/sock_perf.c b/pjlib/src/pjlib-test/sock_perf.c index 1fa12082..a5420af7 100644 --- a/pjlib/src/pjlib-test/sock_perf.c +++ b/pjlib/src/pjlib-test/sock_perf.c @@ -158,11 +158,17 @@ int sock_perf_test(void) PJ_LOG(3,("", "...benchmarking socket " "(2 sockets, packet=512, single threaded):")); - + + /* Disable this test on Symbian since UDP connect()/send() failed + * with S60 3rd edition (including MR2). + * See http://www.pjsip.org/trac/ticket/264 + */ +#if !defined(PJ_SYMBIAN) || PJ_SYMBIAN==0 /* Benchmarking UDP */ rc = sock_producer_consumer(PJ_SOCK_DGRAM, 512, LOOP, &bandwidth); if (rc != 0) return rc; PJ_LOG(3,("", "....bandwidth UDP = %d KB/s", bandwidth)); +#endif /* Benchmarking TCP */ rc = sock_producer_consumer(PJ_SOCK_STREAM, 512, LOOP, &bandwidth); |