Displaying 20 results from an estimated 1200 matches similar to: "Question on non-blocking socket"
2023 Feb 15
1
Question on non-blocking socket
On 2/15/23 01:24, Ben Engbers wrote:
> Hi,
>
> December 27, 2021 I started a thread asking for help troubleshooting
> non-blocking sockets.
> While developing the RBaseX client, I had issues with the
> authentication process. It eventually turned out that a short break
> had to be inserted in this process between sending the credentials to
> the server and requesting
2005 Feb 17
1
socket problems (maybe bugs?)
Dear R Gurus,
for some purpose i have to use a socket connection, where i have to read
and write both text and binary data (each binary data package will be
preceeded by a header line).
When experimenting, i encountered some problems (with R-2.0.1 under
different Linuxes (SuSE and Gentoo)).
Since the default mode for socket connections is non-blocking,
i first tried socketSelect() in order to
2016 Oct 01
2
socketSelect(..., timeout): non-integer timeouts in (0, 2) (?) equal infinite timeout on Linux - weird
There's something weird going on for certain non-integer values of
argument 'timeout' to base::socketSelect(). For such values, there is
no timeout and you effectively end up with an infinite timeout. I
can reproduce this on R 3.3.1 on Ubuntu 16.04 and RedHat 6.6, but not
on Windows (via Linux Wine).
# 1. In R master session
> con <- socketConnection('localhost', port
2017 Oct 05
1
socketSelect(..., timeout): non-integer timeouts in (0, 2) (?) equal infinite timeout on Linux - weird
Fixed in 73470
Best,
Tomas
On 10/05/2017 06:11 AM, Henrik Bengtsson wrote:
> I'd like to follow up/bump the attention to this bug causing the
> timeout to fail for socketSelect() on Unix. It is still there in R
> 3.4.2 and R-devel. I've identified the bug in the R source code - the
> bug is due to floating-point precisions and comparison using >=. See
> PR17203
2009 Apr 01
1
SNOW: Error in socketSelect(socklist) : not a socket connection
I'm trying to use snow in my dual-core (hopefully later this is going to
run in a cluster). So, at this moment I create a cluster using SOCK
connection (MPI in the future). However when I try to use
clusterApplyLB I got "Error in socketSelect(socklist) : not a socket
connection". Any ideas ? Do you know if that is going to be an isuue too
when I swith from SOCK to MPI ?
Sample code
2024 Aug 15
2
Certificates are not trusted
Hi,
After returning home from holiday I tried to update my Fedora
installation with the command 'sudo dnf update -y'.
This command now terminates with the following error:
error: Verifying a signature using certificate
3124D2EF76DA4D972F6BE4AC9D60CBB71A3B4456 (iucar_cran (None)
<iucar#cran at copr.fedorahosted.org>):
1. Certificiate 9D60CBB71A3B4456 invalid: certificate is
2011 Jun 30
0
socket blocking with readBin
R Gurus / Ninjas / Wizards:
On both R 2.12 (Windows 7) and R 2.13 (OS X 10.5) I have tried the
following:
1. In one instance of R open a socket via:
s1 <- socketConnection(server=TRUE, open="a+b", port=31415,
blocking=FALSE);
2. And in another instance I do the following:
s2 <- socketConnection(open="a+b", port=31415, blocking=FALSE);
And so I
2017 Oct 05
0
socketSelect(..., timeout): non-integer timeouts in (0, 2) (?) equal infinite timeout on Linux - weird
I'd like to follow up/bump the attention to this bug causing the
timeout to fail for socketSelect() on Unix. It is still there in R
3.4.2 and R-devel. I've identified the bug in the R source code - the
bug is due to floating-point precisions and comparison using >=. See
PR17203 (https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17203)
for details and a patch. I've just
2006 Feb 22
2
Problem getting new mail from Postfix to Dovecot
Dear reader,
I am having problems getting new mail into my Inbox.
I have this in my dovecot.conf:
default_mail_env = maildir:~/Maildir:INBOX=/var/mail/%u
The logs show nothing special, catting /var/mail/%u shows the new mails
coming in, as does /var/log/mail.info
Any clues?
Regards,
Dave.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Mar 02
2
[Bug 1290] sshd dies if passed host key with relative path on command line
http://bugzilla.mindrot.org/show_bug.cgi?id=1290
Summary: sshd dies if passed host key with relative path on
command line
Product: Portable OpenSSH
Version: 4.5p1
Platform: All
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: bitbucket at
2004 May 27
0
blocking question with socketConnections
I am writing a function to make a multi-part form
request with binary data. I am running R 1.8.1 on
Linux ReadHat.
The sockectConnection is initialized with open="a+b"
and blocking=TRUE.
After writing the Post request using writeChar and
writeBin and flushing the connection I use
socketSelect to check if the socketConnection is
availabe for reading. This call consistently takes 15
2006 Jul 21
1
Problems Reading from Socket
My followup question went unanswered in another thread, so I thought
I'd start a new one and rephrase it.
I need to use CGI POST to retrieve data from a server, so thanks to
Duncan's suggestion, I used the httpRequest package as example code
for doing so. BUT, I have another problem. The data retrieved from
the socket has occasional problems. I include example code below to
2016 Aug 15
2
SIP 603 response when call is not answered
Hi
I have noticed that asterisk returns 'SIP 603' when the called party does
not answer.
My test setup is simple: two SIP phones (extensions: 100 and 111)
registered to an Asterisk 1.8.30.0 gateway.The Dial timeout is 30 seconds.
When 100 calls 111 and after 30 seconds, asterisk sends a CANCEL request to
111 (expected) and a '603 Decline' response to 100 (unexpected &
2023 Jun 09
1
inconsistency in mclapply.....
On Fri, 9 Jun 2023 18:01:44 +0000
akshay kulkarni <akshay_e4 at hotmail.com> wrote:
> > LYG <- pbmclapply(LYGH,FUN = arfima,mc.cores = 2,mc.preschedule =
> > FALSE)
> |
> |
> 0%, ETA NA^
>
> It just hangs.
My questions from the last time still stand:
0) What is your
2013 Mar 31
0
Status Matrix
The wiki page for the feature matrix [1] has been gone for weeks,
yet it is still being linked to from the nouveau main page [2].
Personally, I'm sad that it's gone. Will it come back eventually?
Martin Engbers
[1] http://nouveau.freedesktop.org/wiki/FeatureMatrix
[2] http://nouveau.freedesktop.org
2012 Feb 20
1
Time taken to process a file after a socket connection was made
Hello R people,
I have created a '.csv' file of 100 rows by 20 columns whose each cell
contains a random numbers between 0 & 1, thru a Java program. Once that is
created a signal (just a letter) is send to the port of a socket
connection at "localhost", which was earlier started by an "R" session.
Now the "R" reads the '.csv' file into a data
2023 Aug 12
2
R-4.3 version list.files function could not work correctly in chinese
Dear Yihui,
Thanks a lot for your help!
Unfortunately, I was not able to reproduce this. I've tried creating
files with Chinese characters in their names and populating them
with valid UTF-8 and valid non-UTF-8 text, but R seems to be able to
list them all in my case.
I'm running a US English evaluation ISO image of a slightly newer build
of Windows 10, and I also compiled R-4.3.1 from
2023 Jun 09
2
inconsistency in mclapply.....
Dear members,
I am using pbmcapply to parellise my code. But the following code doesn't work:
> LYG <- pbmclapply(LYGH,FUN = arfima,mc.cores = 2,mc.preschedule = FALSE)
| | 0%, ETA NA^
It just hangs.
But the
2023 Aug 12
2
R-4.3 version list.files function could not work correctly in chinese
Yes, I participated in the discussion. Basically dir() failed to list all
files since R 4.3.0 when filenames start with Chinese characters. I don't
have a Windows machine to test it, but this might be a minimal reproducible
example:
file.create("????.R")
dir()
The OP said dir() would return "????.R" in R.4.2.2 but not in R 4.3.0. In
the same discussion another person
2015 Dec 16
2
weather.agi
http://www.wunderground.com/weather/api/
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
dk at donkelly.biz
Sent: Wednesday, December 16, 2015 9:20 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] weather.agi
-----Original Message-----
From: