FIRST WORKING VERSION
diff --git a/js/java_socket_bridge.js b/js/java_socket_bridge.js
index f2ee60d..68c2e9e 100644
--- a/js/java_socket_bridge.js
+++ b/js/java_socket_bridge.js
@@ -32,8 +32,6 @@
}
-
-
// Send Test Interest
function get(host,port,data){
if(java_socket_bridge_ready_flag){
@@ -46,10 +44,10 @@
// Send Test Interest
-function put(host,port,data,name){
+function put(host,port,data,name,toReturn){
if(java_socket_bridge_ready_flag){
- return get_java_socket_bridge().put(host,port,data,name);
+ return get_java_socket_bridge().put(host,port,data,name,toReturn);
}
else{
on_socket_error("Java Socket Bridge send Interest until the applet has loaded");